detailPane.destroyContent();
}
}));
- dash._addPane(detailPane);
+ dash._addPane(detailPane, St.Align.START);
}
if (index >= 0) {
this._appsSection.header.moreLink.connect('activated', Lang.bind(this, function (link) {
if (this._allApps == null) {
this._allApps = new AppDisplay.AllAppDisplay();
- this._addPane(this._allApps);
+ this._addPane(this._allApps, St.Align.START);
link.setPane(this._allApps);
}
}));
if (this._moreDocsPane == null) {
this._moreDocsPane = new ResultPane(this);
this._moreDocsPane.packResults(DOCS);
- this._addPane(this._moreDocsPane);
+ this._addPane(this._moreDocsPane, St.Align.END);
link.setPane(this._moreDocsPane);
}
}));
this._activePane.close();
},
- _addPane: function(pane) {
+ _addPane: function(pane, align) {
pane.connect('open-state-changed', Lang.bind(this, function (pane, isOpen) {
if (isOpen) {
if (pane != this._activePane && this._activePane != null) {
this._activePane = null;
}
}));
- Main.overview.addPane(pane);
+ Main.overview.addPane(pane, align);
}
};
Signals.addSignalMethods(Dash.prototype);
},
- addPane: function (pane) {
- this._paneContainer.add(pane.actor, { expand: true, y_fill: false, y_align: St.Align.START });
+ addPane: function (pane, align) {
+ pane.actor.height = .9 * this._workspacesHeight;
+ this._paneContainer.add(pane.actor, { expand: true,
+ y_fill: false,
+ y_align: align });
// When a pane is displayed, we raise the transparent background to the top
// and connect to button-release-event on it, then raise the pane above that.
// The idea here is that clicking anywhere outside the pane should close it.